GET MEMBLOCK PTR
This command will return the actual pointer of the specified memblock.
Return DWORD=GET MEMBLOCK PTR(Memblock Number)
Memblock Number
Integer
The memblock number
This command will return the actual pointer of the specified memblock
You can use this pointer to pass into a DLL in order to access the memory directly. The parameter must be an integer value.
MemblockNumber=1
MAKE MEMBLOCK MemblockNumber, 1024
rem Display data
cls
print "MEMBLOCK EXPRESSION DATA"
print
if MEMBLOCK EXIST(MemblockNumber)=1
print "memblock:";MemblockNumber
print "exist:";MEMBLOCK EXIST(MemblockNumber)
print "ptr:";GET MEMBLOCK PTR(MemblockNumber)
print "size:";GET MEMBLOCK SIZE(MemblockNumber)
endif
rem Delete memblocks
if MEMBLOCK EXIST(MemblockNumber)=1 then DELETE MEMBLOCK MemblockNumber
do
loop
end
MEMBLOCKS Commands Menu
Index